package com.chen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.bean.User;
import com.chen.common.R;

import javax.servlet.http.HttpSession;
import java.util.Map;

public interface UserService extends IService<User> {
    /**
     * 获取验证码
     * @param user
     * @return
     */
    R<String> sendMsg(User user, HttpSession session);

    /**
     * 登录验证
     * @param
     * @return
     */
    R<String> login(Map<String,Object> map, HttpSession session);
}
